package com.zy.pro.user.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zy.core.service.impl.ServiceSupport;
import com.zy.pro.user.dao.UserMapper;
import com.zy.pro.user.model.User;
import com.zy.pro.user.service.UserService;
@Service
public class UserServiceImpl extends ServiceSupport<User> implements UserService {

	@Autowired
    private UserMapper<User> mapper;

	public UserMapper<User> getMapper() {
		return mapper;
	}

	@Override
	public User findUserNameAndPassword(User user) {
		return mapper.findUserNameAndPassword(user);
	}
		
	
}
